package com.css.fxfzdpzs.modules.ypg.repository;




import com.css.fxfzdpzs.modules.ypg.entity.YpgMapGeom;
import com.css.fxfzdpzs.modules.ypg.entity.first.*;
import com.css.fxfzdpzs.modules.ypg.entity.second.*;
import com.css.fxfzdpzs.modules.ypg.vo.YpgFirstMapVO;
import com.css.fxfzdpzs.modules.ypg.vo.YpgFirstResultVO;
import com.css.fxfzdpzs.modules.ypg.vo.YpgProHouseNumCountMapVO;
import com.css.fxfzdpzs.modules.ypg.vo.YpgProSurveyPointCountMapVO;

import java.util.List;
import java.util.Map;

/**
 * @author y1fan
 * @description
 */
public interface YpgRepository {


    YpgEarthquakeSetNum getYpgEarthquakeSetNum();

    List<YpgProvinceEarthquakeSet> getYpgProvinceEarthquakeSets();

    Ypg2015yearsEarthquakeSituation getYpg2015yearsEarthquakeSituation();

    List<YpgEarthquakeSetTrend> getYpgEarthquakeSetTrends();

    YpgSceneCheckSituation getYpgSceneCheckSituation();


    List<YpgProvinceCoverage> getYpgProvinceCoverages(String code);

    YpgCountyCoverage getCountCoverage(String code);

    List<YpgProSurveyPointCount> getYpgProSurveyPointCounts(String code);

    YpgSurveyPointLocality getYpgSurveyPointLocality(String code);

    List<YpgSurveyPointSituation> getYpgSurveyPointSituations(String code);

    List<YpgHouseTypeCount> getYpgHouseTypeCounts(String code);

    List<YpgProHouseNumCount> getYpgProHouseNumCounts(String code);

    List<YpgDamagePointTypeCount> getYpgDamagePointTypeCounts(String code);

    List<YpgProDamagePointCount> getYpgProDamagePointCounts(String code);

    Map<String,Object> getYpgPersonnel(int curPage,int pageSize);

    List<YpgFirstResultVO> getMap(YpgFirstMapVO ypgFirstMapVO);

    List<YpgFirstMap> getFirstMap();

    void saveMapGemo(List<YpgMapGeom> mapGemos);

    YpgCountyCoverage getVillageCoverage(String code);

    List<YpgProvinceCoverage> getProvinceVillageCov(String code);

    List<YpgBuildMonomerCount> getBuildMonomerCount(String code);

    List<YpgDamagePointSituationCount> getDamagePointSituationCount(String code);

    List<YpgProSurveyPointCountMapVO> getSurveyPointCountMap(String code,String flag);


}
